package com.reguang.exception;

import com.reguang.enums.HttpStatusEnum;
import com.reguang.enums.ResultCode;

public class WeChatException extends BaseException {

	/** serialVersionUID*/
	private static final long serialVersionUID = -2750168495908883859L;

	private Integer httpStatus = HttpStatusEnum.BAD_REQUEST.code();

	private ResultCode resultCode = ResultCode.USER_TOKEN_VALID;

	public WeChatException() {
		super();
	}

	public WeChatException(Integer httpStatus, ResultCode resultCode) {
		super();
		this.httpStatus = httpStatus;
		this.resultCode = resultCode;
	}

	public Integer getHttpStatus() {
		return httpStatus;
	}

	public void setHttpStatus(Integer httpStatus) {
		this.httpStatus = httpStatus;
	}

	public ResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(ResultCode resultCode) {
		this.resultCode = resultCode;
	}
}
